<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SignIn.ascx.cs" Inherits="TVT.UI.UserControls.SignIn" %>
<table style="text-align:center" width="100%" cellpadding="0px" cellspacing="0px"  >
    <tr>
        <td style="background-image:url(App_Themes/NewDesign/Images/Login/header-pix.gif); background-repeat:repeat-x">
            <img style="vertical-align:top" src="App_Themes/NewDesign/Images/Login/head-tit.jpg" />
        </td>
    </tr>
    <tr style="text-align:center">
    
    <td style="text-align:center" align="center">
        <asp:Login ID="loginUser" runat="server" Font-Names="Verdana" Font-Size="1.1em" ForeColor="#333333"  FailureText="Could not log in. Please try again." LoginButtonText="LogIn" PasswordLabelText="Password:" PasswordRequiredErrorMessage="Password must be provided."  TitleText="LogIn" UserNameLabelText="UserName:" UserNameRequiredErrorMessage="UserName must be provided." Width="100%" OnLoggedIn="LoggedIn"  >
            <TitleTextStyle  Font-Bold="True" Font-Size="1.1em" ForeColor="White" />
            <LayoutTemplate>
                <table width="100%" class="LoginContent" border="0" cellpadding="0" cellspacing="0" 
                    style="text-align:center;border-collapse:collapse;">
                    <tr>
                        <td>
                            <table border="0" cellspacing="0" cellpadding="0" style="text-align:center;width:100%;">
                                <tr>
                                    <td  align="center" class="LoginTitle" colspan="2" 
                                        style="background-repeat:repeat-x;background-image:url(App_Themes/NewDesign/Images/Login/barra-pix.gif);color:White;font-size:1.1em;font-weight:bold;">
                                        <img src="App_Themes/NewDesign/Images/Login/barra-login.gif" />
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <table style="text-align:right" >
                                            <tr>
                                                 <td style="Width:60px" align="right">
                                                    <asp:Label Width="100px" ID="UserNameLabel" CssClass="LoginLabels" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox Height="20px" Width="150px" ID="UserName" runat="server" Font-Size="1.1em"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                        ControlToValidate="UserName" ErrorMessage="UserName must be provided." 
                                                        ToolTip="UserName must be provided." ValidationGroup="ctl00$loginUser">*</asp:RequiredFieldValidator>
                                                </td>
                                                <td >
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:Label CssClass="LoginLabels" ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                                </td>
                                                <td>
                                                    <asp:TextBox Height="20px" ID="Password" Width="150px" runat="server" Font-Size="1.1em" TextMode="Password"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                        ControlToValidate="Password" ErrorMessage="Password must be provided." 
                                                        ToolTip="Password must be provided." ValidationGroup="ctl00$loginUser">*</asp:RequiredFieldValidator>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                    <td colspan="3" style="text-align:right; padding-right:28px; display:none" >
                                        <asp:CheckBox ID="RememberMe" CssClass="LoginRemember"  runat="server" Text="Remember me next time." />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="3" style="color:Red;">
                                        <asp:Literal ID="FailureText" runat="server" ></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="padding-right:28px" colspan="3">
                                        <asp:ImageButton ImageUrl="../App_Themes/NewDesign/Images/Login/bnt-login.gif" ID="LoginButton" runat="server" CommandName="Login" 
                                             ValidationGroup="ctl00$loginUser" 
                                             />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="padding-right:28px" colspan="3">
                                        <asp:LinkButton ID="Register" runat="server" OnClick="OnRegisterClick">register</asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </td>                              
                       
                    </tr>
                                
                                
                            </table>
                        </td>
                    </tr>
                    
                </table>
            </LayoutTemplate>
            <InstructionTextStyle Font-Italic="True" ForeColor="Black"  />
            <TextBoxStyle Font-Size="1.1em"  />
            <LoginButtonStyle Width="100px" CssClass="LoginButton" />
        </asp:Login>
    </td>
</tr>
<tr>
    <td style="vertical-align:bottom;height:270px;text-align:right">
        <img src="App_Themes/NewDesign/Images/Login/footer-tit.gif" />
    </td>
</tr>
</table>